#include "Controller.h"
#include "HeatControl.h"

void Controller_Runnable_initialize(void) {
	// Do nothing
}

void Controller_Runnable(void) {
	HeatControl_Input input;
	HeatControl_Output output;

	Controller_actualTemperature_receive(&input.actualTemperature);
	Controller_desiredTemperature_receive(&input.desiredTemperature);
	HeatControl_execute(&input, &output);
	Controller_power_send(&output.power);
	Controller_temperatureDrop_send(&output.temperatureDrop);
}
